package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName PromotionInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 11:57
 */
public class DiscountsInfo extends BaseEntity {
    /** 促销id */
    @Excel(name = "促销id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;


    /** 优惠方式 */
    @Excel(name = "优惠方式")
    private String preferentialMode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getPreferentialMode() {
        return preferentialMode;
    }

    public void setPreferentialMode(String preferentialMode) {
        this.preferentialMode = preferentialMode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("preferentialMode", getPreferentialMode())
                .toString();
    }

}
